﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DataAccess.Core.Attributes;

namespace MVCPets.Data.Model
{
	[TableName(TableName="User", Schema="Security")]
	public class User
	{
		public int ID { get; set; }
		public string FirstName { get; set; }
		public string LastName { get; set; }
		public string EmailAddress { get; set; }
		public string Password { get; set; }

		[DataField(PrimaryKeyType=typeof(Role))]
		public int Role { get; set; }
		public DateTime RegistrationDate { get; set; }
	}
}